//
//  WorkServicesCell.m
//  ASHT_IOS
//
//  Created by 宋安安 on 14-4-8.
//  Copyright (c) 2014年 宋安安. All rights reserved.
//

#import "WorkServicesCell.h"

@implementation WorkServicesCell
@synthesize image;

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        self.backgroundColor=[UIColor clearColor];
    }
    return self;
}

-(void)imageUrl:(NSString *)url
{
    NSString *str_url=[NSString stringWithFormat:SERVER_BASICE_URL@"phone!getImg.action?imgUrl=%@",url];
    NSURL *imageurl=[[NSURL alloc] initWithString:str_url];
    [self.EGOimage setImageURL:imageurl];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end

@implementation WorkServicesSubCell

@synthesize lab_cellname;


@end

@implementation WorkServicesThirdCell

@synthesize lab_title;
@synthesize lab_content;
@synthesize thirdEGOimage;

-(void)imageUrl:(NSString *)url
{
    NSString *str_url=[NSString stringWithFormat:SERVER_BASICE_URL@"/phone!getImg.action?imgUrl=%@",url];
    NSURL *imageurl=[[NSURL alloc] initWithString:str_url];
    [self.thirdEGOimage setImageURL:imageurl];
}

@end
